home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-09-16 | 1.5 KB | 60 lines |
- # Makefile for Rayshade slides
- #
- # Mark Maimone (mwm@cmu.edu) 13 September 1992
- #
-
- FILES = ps/ap1.PS ps/ap2.PS ps/bigpac.PS ps/camera.Ps ps/depth.PS \
- ps/depthcolor.PS ps/diff.PS ps/front.PS ps/left.PS ps/mancyl.PS \
- ps/right.PS ps/sphere.PS
-
- all: ray/depth.ps ps ps/depth.PS urt.ps ray.ps page18.ps page19.ps page20.ps
-
- ray/depth.ps:
- @echo I think you forgot to build the image files.
- @echo "Please cd ray and build those files first."
- false
-
- ps:
- @echo "I think you need to choose between greyscale and color"
- @echo "images. Please pick one and then:"
- @echo ""
- @echo " ln -s bw ps"
- @echo " or ln -s color ps"
- @echo ""
- @echo "Please send the README file for more details....."
- false
-
- ps/depth.PS:
- @echo "I think you need to build the PostScript versions of the"
- @echo "images. Please cd ps and build the files there."
- false
-
- ray.dvi: ray.tex psfigure.tex
-
- %.dvi: %.tex
- latex %.tex
- cp %.aux %.aux.old
-
- %.ps: %.dvi
- dvips -t landscape < %.dvi > %.ps
-
- ray.ps: ray.dvi $(FILES)
- dvips -t landscape < ray.dvi > ray.ps
- #
- # Make pages of rayshade input files
- #
-
- page18.ps: ray/balls.ray
- enscript -fCourier-Bold15 -FCourier15 -b"1992 VASC Retreat (mwm) 18" -ppage18.ps ray/balls.ray
-
- page19.ps: ray/pac.ray
- enscript -fCourier-Bold15 -FCourier15 -b"1992 VASC Retreat (mwm) 19" -ppage19.ps ray/pac.ray
-
- page20.ps: ray/pacbw.ray
- enscript -fCourier-Bold15 -FCourier15 -b"1992 VASC Retreat (mwm) 20" -ppage20.ps ray/pacbw.ray
-
-
-
- clean:
- rm -f page*ps *.dvi ray.ps urt.ps *.aux *.log *.old *.CKP *.BAK
-